package DBLayer;

import java.util.ArrayList;
import ModelLayer.*;

public interface IFDBSalesOrder {

	// get all SalesOrders
    public ArrayList<SalesOrder> getAllSalesOrder();
    //find a SalesOrder using the id.
    public SalesOrder searchSalesOrder( int soId);
    //insert new SalesOrder
    public int insertSalesOrder(SalesOrder so) throws Exception;
    //update SalesOrder
    public int updateSalesOrder(SalesOrder so);
    //delete SalesOrder
    public int deleteSalesOrder(SalesOrder so);
	
}
